﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhpDocBlockGenerator.Model.Php
{
    interface IPhpClassElements
    {
        /// <summary>
        /// writes the changed lines back to the list of file lines
        /// </summary>
        /// <param name="allFileLines">complete file as list of lines</param>
        /// <param name="writingPos">position to begin writing in the complete list of file lines</param>
        /// <param name="writingOffset">offset of earlier written lines to regard for</param>
        void WriteToListOfFileLines(List<String> allFileLines, int writingPos, ref int writingOffset);

        /// <summary>
        /// beginning position of the function head in the lines array
        /// </summary>
        int BeginningLine { get; }
    }
}
